<? 
include("../config.php");
include($rutaFisica."clases/DB.php");
include($rutaFisica."clases/Taller.php");
$taller = new Taller();
$taller->MostrarTaller($_GET["id"]);
?>
<html>
<head>
<title>Departamento de Bolsa de Trabajo - FCA</title>
<meta http-equiv="Content-Type" content="text/html;">
<link href="../css.css" rel="stylesheet" type="text/css">
<? include($rutaFisica."/funciones/funciones.php");?>
</head>
<body bgcolor="#cccccc" topmargin="0">
<table width="755" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="14" height="1" border="0" alt=""></td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="725" height="1" border="0" alt=""></td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="16" height="1" border="0" alt=""></td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="1" height="1" border="0" alt=""></td>
  </tr>

  <tr>
    <td colspan="3" background="<? echo $ruta; ?>/template/imagenes/index_r1_c1.gif">&nbsp;</td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="1" height="25" border="0" alt=""></td>
  </tr>
  <tr>
    <td colspan="2" valign="top" bgcolor="#000051" class="LetraOro"><div align="right">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="right" class="LetraOro">
				<? include("../menu.php"); ?>
			</td>
          </tr>
          <tr>
            <td> 
              <? include("../encabezado.php"); ?>
            </td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
      </div></td>
    <td background="<? echo $ruta; ?>/template/imagenes/index_r2_c3.gif">&nbsp;</td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="1" height="90" border="0" alt=""></td>
  </tr>
  <tr>
    <td colspan="3" background="<? echo $ruta; ?>/template/imagenes/index_r3_c1.gif">&nbsp;</td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="1" height="28" border="0" alt=""></td>
  </tr>
  <tr>
    <td rowspan="2" background="<? echo $ruta; ?>/template/imagenes/index_r4_c1.gif">&nbsp;</td> 
    <td rowspan="3" valign="top" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="468" valign="top"><p><span class="LetraOroGrande">.:</span>
		  		<span class="LetraAzulGrande"><? echo $taller->_nombreTaller; ?></span> 
              </p>
            <div align="right">
              <input name="Regresar" type="button" id="Regresar" value="Regresar" onClick="javascript: history.back();">
              <br>
            </div>
            <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
              <tr> 
                <td width="65%" height="25" valign="top" bgcolor="<? echo $color;?>"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                    <tr> 
                      <td width="30%" height="20"><span class="LetraAzulOChicaSB">Fecha:</span></td>
                      <td width="70%" height="20"><span class="LetraAzulChicaSB"><? echo $taller->_fecha; ?></span></td>
                    </tr>
                    <tr bgcolor="#F2F2F2"> 
                      <td height="20"><span class="LetraAzulOChicaSB">Horario:</span></td>
                      <td height="20"><span class="LetraAzulChicaSB"><? echo $taller->_horaInicio; ?> 
                        - <? echo $taller->_horaFin; ?> </span></td>
                    </tr>
                    <tr> 
                      <td height="20"><span class="LetraAzulOChicaSB">Lugar: </span><span class="LetraAzulChicaSB"> 
                        </span></td>
                      <td height="20"><span class="LetraAzulChicaSB"><? echo $taller->_lugar; ?></span></td>
                    </tr>
                    <tr bgcolor="#F2F2F2"> 
                      <td height="20"><span class="LetraAzulOChicaSB">Duraci&oacute;n:</span></td>
                      <td height="20"><span class="LetraAzulChicaSB"><? echo $taller->_duracion;?></span> 
                        <span class="LetraAzulOChicaSB">hrs.</span></td>
                    </tr>
                    <tr> 
                      <td height="20"><span class="LetraAzulOChicaSB">Lugares 
                        disponibles:</span></td>
                      <td height="20" valign="top"><span class="LetraAzulChicaSB"><? echo $taller->CupoActual($taller->_idTaller) ;?></span> 
                        <span class="LetraAzulOChicaSB">personas.</span> <br> 
                        <div align="right"> </div></td>
                    </tr>
                    <tr> 
                      <td height="20" colspan="2" align="right" valign="top" bgcolor="#F2F2F2"> 
                        <? if($taller->CupoActual($taller->_idTaller) > 0) {?>
                        <a href="<? echo $ruta."/aspirantes/talleres.php?action=suscribe&id=". $taller->_idTaller ;?>" class="LinkRollOverAzul">|Inscribir|</a> 
                        <? } 
						else
						{
						?>
                        <span class="LetraChicaRoja">El taller ya no cuenta con 
                        lugares disponibles.</span> 
                        <? } ?>
                      </td>
                    </tr>
                    <tr> 
                      <td colspan="2">&nbsp;</td>
                    </tr>
                    <tr> 
                      <td colspan="2"><span class="LetraAzulMedianaSB"><? echo nl2br($taller->_comentarios); ?></span></td>
                    </tr>
                    <tr> 
                      <td colspan="2">&nbsp;</td>
                    </tr>
                  </table>
                  <p>&nbsp; </p>
                  <p>&nbsp; </p></td>
              </tr>
            </table></td>
          <td width="1" bgcolor="#000051">&nbsp;</td>
          <td width="256" valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td bgcolor="#999999">&nbsp;</td>
              </tr>
              <tr> 
                <td bgcolor="#F2F2F2"><p>&nbsp;</p>
                  <p>&nbsp;</p>
                  <p>&nbsp;</p>
                  <p>&nbsp;</p>
                  <p>&nbsp;</p>
                  <p>&nbsp;</p>
                  <p>&nbsp;</p>
                  <p>&nbsp;</p>
                  <p>&nbsp;</p>
                  <p>&nbsp;</p></td>
              </tr>
              <tr> 
                <td bgcolor="#999999">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td colspan="3" valign="top">&nbsp;</td>
        </tr>
      </table>
      <p>&nbsp;</p>
      
    </td>
    <td background="<? echo $ruta; ?>/template/imagenes/index_r4_c3.gif">&nbsp;</td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="1" height="32" border="0" alt=""></td>
  </tr>
  <tr>
    <td rowspan="2" background="<? echo $ruta; ?>/template/imagenes/index_r4_c3.gif">&nbsp;</td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="1" height="9" border="0" alt=""></td>
  </tr>
  <tr>
    <td background="<? echo $ruta; ?>/template/imagenes/index_r4_c1.gif">&nbsp;</td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="1" height="552" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="3"><img name="index_r7_c1" src="<? echo $ruta; ?>/template/imagenes/index_r7_c1.gif" width="755" height="38" border="0" alt=""></td>
   <td><img src="<? echo $ruta; ?>/template/imagenes/spacer.gif" width="1" height="38" border="0" alt=""></td>
  </tr>
</table>
</body>
</html>
